package com.mysteel.order.feign;

import com.mysteel.order.vo.MemberAddressVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * ProjectName: mail
 * ClassName: MemberFeignService
 * Description:
 * date: 2021/03/20/020 14:55
 *
 * @author xiaochao
 */
@FeignClient("member")
public interface MemberFeignService {
    @GetMapping("/member/memberreceiveaddress/{memberId}/addresses")
    List<MemberAddressVo> getAddressByMemberId(@PathVariable("memberId") Long memberId);
}
